package com.heima.api;

import com.heima.api.fallback.ApArticleSaveFeignBack;
import com.heima.article.dotos.ApArticleSaveDto;
import com.heima.user.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "leadnews-article",fallback = ApArticleSaveFeignBack.class)
public interface ApArticleSaveFeign {


    @PostMapping("/api/v1/article/save")
    ResponseResult save(ApArticleSaveDto dto);



}
